package chixing.day14.homework.work5;

public class BrowseRecord {
    private int userId;
    private String actionType;

    public BrowseRecord(){}
    public BrowseRecord(int userId, String actionType) {
        this.userId = userId;
        this.actionType = actionType;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getActionType() {
        return actionType;
    }

    public void setActionType(String actionType) {
        this.actionType = actionType;
    }

    @Override
    public String toString() {
        return "BrowseRecord{" +
                "userId=" + userId +
                ", actionType='" + actionType + '\'' +
                '}';
    }
}
